package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 业务订单对象 business_order
 * 
 * @author leach
 * @date 2020-06-24
 */
public class BusinessOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 标题 */
    private String title;

    /** 类型 */
    @Excel(name = "类型")
    private Long type;

    /** 平台 */
    @Excel(name = "平台")
    private String platform;

    /** 用户 */
    @Excel(name = "用户")
    private String user;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 邮费 */
    @Excel(name = "邮费")
    private Double postage;

    /** 总金额 */
    @Excel(name = "总金额")
    private Double totalAmount;

    /** 结算金额 */
    @Excel(name = "结算金额")
    private Double settleAmount;

    /** 结算类型 */
    @Excel(name = "结算类型")
    private Integer settleType;

    /** 快递 */
    @Excel(name = "快递")
    private String express;

    /** 单号 */
    @Excel(name = "单号")
    private String expressNumber;

    /** 快递状态 */
    @Excel(name = "快递状态")
    private Integer expressStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setPlatform(String platform) 
    {
        this.platform = platform;
    }

    public String getPlatform() 
    {
        return platform;
    }
    public void setUser(String user) 
    {
        this.user = user;
    }

    public String getUser() 
    {
        return user;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }
    public void setPostage(Double postage) 
    {
        this.postage = postage;
    }

    public Double getPostage() 
    {
        return postage;
    }
    public void setTotalAmount(Double totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public Double getTotalAmount() 
    {
        return totalAmount;
    }
    public void setSettleAmount(Double settleAmount) 
    {
        this.settleAmount = settleAmount;
    }

    public Double getSettleAmount() 
    {
        return settleAmount;
    }
    public void setSettleType(Integer settleType) 
    {
        this.settleType = settleType;
    }

    public Integer getSettleType() 
    {
        return settleType;
    }
    public void setExpress(String express) 
    {
        this.express = express;
    }

    public String getExpress() 
    {
        return express;
    }
    public void setExpressNumber(String expressNumber) 
    {
        this.expressNumber = expressNumber;
    }

    public String getExpressNumber() 
    {
        return expressNumber;
    }
    public void setExpressStatus(Integer expressStatus) 
    {
        this.expressStatus = expressStatus;
    }

    public Integer getExpressStatus() 
    {
        return expressStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("type", getType())
            .append("platform", getPlatform())
            .append("user", getUser())
            .append("status", getStatus())
            .append("num", getNum())
            .append("postage", getPostage())
            .append("totalAmount", getTotalAmount())
            .append("settleAmount", getSettleAmount())
            .append("settleType", getSettleType())
            .append("createTime", getCreateTime())
            .append("express", getExpress())
            .append("expressNumber", getExpressNumber())
            .append("expressStatus", getExpressStatus())
            .append("remark", getRemark())
            .toString();
    }
}
